From cf351f1575e28f11c4664daa9cb3209df2ab2a14 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 21 Nov 2007 15:08:10 +0000 Subject: [PATCH] C89 Fix in kml.c --- kml.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kml.c b/kml.c index 5c3d12516..20f9e9920 100644 --- a/kml.c +++ b/kml.c @@ -769,6 +769,9 @@ char * kml_gc_mkstar(int rating) static void kml_geocache_pr(const waypoint *waypointp) { char *p, *is; + double lat = waypointp->latitude;; + double lng = waypointp->longitude; +// optionally "fuzz" lat/lng here. kml_write_xml(1, "\n"); @@ -824,9 +827,6 @@ static void kml_geocache_pr(const waypoint *waypointp) kml_write_xml(-1, "\n"); // Location - double lat = waypointp->latitude;; - double lng = waypointp->longitude; -// optionally "fuzz" lat/lng here. kml_write_xml(1, "\n"); kml_write_xml(0, "%f,%f,%f\n", lng, lat, -- 2.30.2